<?php
namespace Common\Model\Fenxiao;
use Think\Model;

class FenxiaoUserRecordModel extends Model
{
    protected $tableName = 'user_fenxiao_records';
    //邀请人是否还能获得奖励
    const FIRST_REWARD_INVALID = 0;
    const FIRST_REWARD_VALID = 1;
    const FIRST_REWARD_VALID_MAPS = [
        self::FIRST_REWARD_INVALID => '首次奖励失效',
        self::FIRST_REWARD_VALID => '首次奖励有效',
    ];

    //奖励发放标识
    const FIRST_REWARD_NOT_GRANT = 0;
    const FIRST_REWARD_GRANT = 1;

    const FIRST_REWARD_GRANT_MAPS = [
        self::FIRST_REWARD_NOT_GRANT => '首次奖励未发放',
        self::FIRST_REWARD_GRANT => '首次奖励已发放',
    ];

    //用户支付
    const USER_IS_PAY = 1;
    const USER_NOT_PAY = 0;

}
?>
